#ifndef NEWFRIENDITEM_H
#define NEWFRIENDITEM_H

#include <QWidget>
#include"peopleaddinfo.h"
namespace Ui {
class newfrienditem;
}

class newfrienditem : public QWidget
{
    Q_OBJECT

public:
    explicit newfrienditem(QWidget *parent = nullptr);
    ~newfrienditem();
    QString name;
    QString image;
    QString  account;
    QString extrames;
    peopleaddinfo* pai;
    void init(QString ac,QString im,QString na,QString extrame);
    bool confirmaddinfo=false;   //表明是否已经要添加或是删除了
    bool addfriend;
signals:
private:
    Ui::newfrienditem *ui;
};

#endif // NEWFRIENDITEM_H
